<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{margin:0;padding: 0;}
        .frame::before{
            content: "";
            position:absolute;
            display: block;
            width:0;
            height:0;
            /* border-right:10px solid transparent;
            border-left:10px solid transparent;
            border-top:10px solid transparent;
            border-bottom:10px solid red; */
            border:20px solid transparent;
            border-bottom-color:#333;
            top:-40px;
            left:50%;
            transform: translateX(-50%);
            
                   }
        .frame{
            width:100px;
            height:200px;
            border:1px solid rgb(82, 82, 82);
            position: relative;
            margin-top: 100px;
        }
        
        
    </style>
</head>
<body>
    
        <div class=" frame">

        </div>

    </div>
   
</body>
</html>